package businesslogicservice;

import vo.TeachPlanVO;
import vo.TeacherVO;

public class TeachPlanBLService_Stub implements TeachPlanblservice{
	long departmentID;
	
	
	double fileSize;
	double maxFileSize;
	
	public TeachPlanBLService_Stub(long did,double fs){
		departmentID = did;
		fileSize = fs;
	}
	
	public ResultMessage uploadPlan(double fileSize,TeacherVO vo){
		if(fileSize < maxFileSize)
			return ResultMessage.UPLOAD_SUCCESS;
		else
			return ResultMessage.UPLOAD_FAIL;
	}
	
	public TeachPlanVO getPlan(long departmentID){
		
		if(departmentID == 00001)
			return new TeachPlanVO();
		else return null;
	}




}
